<template>
  <div class="operation">
    <div class="component-mainHeader">
      <div class="top">
        <div class="topleft">
          <p>
            <span class="iconfont" style="color:#1abc9a;margin-right:3px;">&#xe607;</span>领用
          </p>
        </div>
      </div>
    </div>

    <div class="search-header">
      <div class="left-title">
        <p class="left-text">领用申请</p>
      </div>
    </div>

    <div class="content">
      <div class="input-xing">
        <el-form :inline="true" :model="formInline" class="demo-form-inline">
          <el-form-item label="领购产品：" style="margin-bottom:10px;margin-left:-5px">
            <span>*</span>
            <el-input v-model="formInline.user"></el-input>
          </el-form-item>

       <el-form-item label="领购数量：" style="margin-bottom:10px;margin-left:-5px">
            <span>*</span>

             <el-input-number v-model="num8" controls-position="right" @change="handleChange" :min="10" :max="100000" :step="10"></el-input-number>
          </el-form-item>




          <el-form-item label="产品单价：" style="margin-bottom:10px;">
            <span>*</span>
            <el-input v-model="formInline.user"></el-input>
          </el-form-item>

          <div style=" font-size:14px;position:relative">

            <span style=" color: #f56c6c;
                        position: absolute;
                        top: 0px;
                        left: 30px;">*</span>
            <span style="vertical-align:top;margin-right:5px;">领购原因：</span>
            <textarea
              class="textarea"
              style="width:240px;height:112px;resize:none;border:1px solid #ccc; border-radius: 5px;

              box-sizing: border-box;padding:5px"
              placeholder="请输入内容"
            ></textarea>
          </div>

          <button
            style="height:35px;width: 80px;background-color:#1abc9c;
            font-size:14px;
            margin-left:-80px;
            border: 1px solid transparent;
            outline: none;
            color:#fff;
             border-radius:3px;
             margin-top: 40px;"
          >提交审核</button>
        </el-form>
      </div>
    </div>

    <!-- 分页功能 -->
  </div>
</template>


<script>
export default {
  name: "receive",
  data() {
    return {
      formInline: {
        user: "",
        region: ""
      },
      num8: 10,
    };
  },
  methods: {
      handleChange(value) {
        console.log(value);
      }
    }
};
</script>
<style scoped>

.search-header {
  width: 1100px;
  box-sizing: border-box;
  border: 1px solid rgba(228, 228, 228, 1);
  background-color: rgba(255, 255, 255, 1);
  margin: 0 auto;
  margin-top: 20px;
}

.search-header .left-title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: rgba(243, 243, 243, 1);
  height: 45px;
  box-sizing: border-box;
  border: 1px solid rgba(228, 228, 228, 1);
  border:none;
}

.search-header .left-title .left-text {
  width: 20%;
  color: #666;
  font-size: 12px;
  line-height: 45px;
  font-weight: 700;
  text-align: left;
  margin: 0 0 0 30px;
}

/* 主体 */

.content {
  width: 1100px;

  height: 480px;
  background-color: #fff;
  margin: 0 auto;
  padding-top: 50px;
  border: 1px solid #ccc;

}

.input-xing {
  width: 400px;
  margin: 0 auto;
}
.el-form-item__content {
  position: relative;
  width: 240px;
}

.el-form-item__content span {
  color: #f56c6c;
  position: absolute;
  top: -5px;
  left: -90px;
}

::-webkit-input-placeholder {
  color: #ccc;
  font-size: 14px;
  /* padding: 10px; */
}

.el-select {
  width: 240px;
}
.el-select .el-input--suffix .el-input__inner {
  width: 240px;
}


.el-input-number{
  width: 240px;
  }
</style>






